﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Descripción breve de VariablesGlobales
/// </summary>
public class VariablesGlobales
{
    public string usuario = "16748540";
    public int id_carta_actual = 0;
    private static VariablesGlobales instance = null;

	private VariablesGlobales(){}

    public static VariablesGlobales GetInstance()
    {
        if (instance == null)
            instance = new VariablesGlobales();

        return instance;
    }

    public string getUsuario(){
        return usuario;
    }
    public void setUsuario(string v_usr){
        usuario = v_usr;
    }
    public int getCarta(){
        return id_carta_actual;
    }
    public void setCarta(int id){
        id_carta_actual = id;
    }
}
